package com.iplay.service.order.query;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.iplay.service.query.QueryCondition;
import com.iplay.service.query.QueryConditionBuilder;

@Component
public class CustomerQueryConditionBuilder implements QueryConditionBuilder{

	@Autowired
	private UsernameQueryConditionBuilder builder;
	
	@Override
	public QueryCondition create(Object t) {
		return builder.create(t, "customerId");
	}

}
